#ifndef CHATWIDGET_H
#define CHATWIDGET_H

#include <QWidget>
#include <QTextEdit>
#include <QPushButton>
#include <QSplitter>
#include "./widgets/mainWindow/subWidgets/chatView/chatbox.h"

namespace Ui {
class ChatWidget;
}

class ChatWidget : public QWidget
{
    Q_OBJECT

public:
    explicit ChatWidget(QWidget *parent = nullptr);
    ~ChatWidget();

    QPushButton* getSendMsgBtn() const;
    ChatBox* getChatBox() const;
    QTextEdit* getChatInputBox() const;
    QPushButton* getVideoCallBtn() const;
    QLabel* getLabelFriendName() const;

private:
    Ui::ChatWidget *ui;
    ChatBox* m_chatBox;
    QSplitter* m_splitter;

protected:
    void resizeEvent(QResizeEvent *event) override;

};

#endif // CHATWIDGET_H
